﻿<UserControl x:Class="Studio77.PopBall.Views.ScoreView"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    d:DesignHeight="480" d:DesignWidth="480" Width="302" Height="170">
	<UserControl.Resources>
		<Storyboard x:Name="StoryboardShow">
			<DoubleAnimation Duration="0" To="0" Storyboard.TargetProperty="(UIElement.RenderTransform).(CompositeTransform.Rotation)" Storyboard.TargetName="LayoutRoot1" d:IsOptimized="True"/>
			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(CompositeTransform.ScaleX)" Storyboard.TargetName="LayoutRoot1">
				<EasingDoubleKeyFrame KeyTime="0" Value="0"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.4" Value="1">
					<EasingDoubleKeyFrame.EasingFunction>
						<BackEase EasingMode="EaseOut"/>
					</EasingDoubleKeyFrame.EasingFunction>
				</EasingDoubleKeyFrame>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(CompositeTransform.ScaleY)" Storyboard.TargetName="LayoutRoot1">
				<EasingDoubleKeyFrame KeyTime="0" Value="0"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.4" Value="1">
					<EasingDoubleKeyFrame.EasingFunction>
						<BackEase EasingMode="EaseOut"/>
					</EasingDoubleKeyFrame.EasingFunction>
				</EasingDoubleKeyFrame>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="LayoutRoot1">
				<EasingDoubleKeyFrame KeyTime="0:0:0.4" Value="1">
					<EasingDoubleKeyFrame.EasingFunction>
						<BackEase EasingMode="EaseOut"/>
					</EasingDoubleKeyFrame.EasingFunction>
				</EasingDoubleKeyFrame>
				<EasingDoubleKeyFrame KeyTime="0:0:0.7" Value="0"/>
			</DoubleAnimationUsingKeyFrames>
		</Storyboard>
		<Storyboard x:Name="StoryboardResume">
			<DoubleAnimation Duration="0" To="0" Storyboard.TargetProperty="(UIElement.RenderTransform).(CompositeTransform.ScaleX)" Storyboard.TargetName="LayoutRoot1" d:IsOptimized="True"/>
			<DoubleAnimation Duration="0" To="0" Storyboard.TargetProperty="(UIElement.RenderTransform).(CompositeTransform.ScaleY)" Storyboard.TargetName="LayoutRoot1" d:IsOptimized="True"/>
			<DoubleAnimation Duration="0" To="0" Storyboard.TargetProperty="(UIElement.RenderTransform).(CompositeTransform.Rotation)" Storyboard.TargetName="LayoutRoot1" d:IsOptimized="True"/>
			<DoubleAnimation Duration="0" To="1" Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="LayoutRoot1" d:IsOptimized="True"/>
		</Storyboard>
	</UserControl.Resources>
    
    <Grid x:Name="LayoutRoot1" RenderTransformOrigin="0.5,0.5">
    	<Grid.RowDefinitions>
    		<RowDefinition Height="69*"/>
    		<RowDefinition Height="89*"/>
    	</Grid.RowDefinitions>
		<Grid.RenderTransform>
			<CompositeTransform/>
		</Grid.RenderTransform>
		<Image x:Name="imgCommentAmazing" Margin="0,56,0,0" Source="/Images/amazing.png" Stretch="Fill" Grid.RowSpan="2" Width="302" Height="114" Visibility="Collapsed"/>
		<Image x:Name="imgCommentExecllent" Margin="0,56,0,0" Source="/Images/execellent.png" Stretch="Fill" Grid.RowSpan="2" Width="302" Height="114" Visibility="Collapsed"/>
		<Image x:Name="imgCommentGood" Margin="0,56,0,0" Source="/Images/good.png" Stretch="Fill" Grid.RowSpan="2" Width="302" Height="114" Visibility="Collapsed"/>
		<Image x:Name="imgCommentGreat" Margin="0,56,0,0" Source="/Images/great.png" Stretch="Fill" Grid.RowSpan="2" Width="302" Height="114" Visibility="Collapsed"/>
		<Image x:Name="imgCommentNice" Margin="0,56,0,0" Source="/Images/nice.png" Stretch="Fill" Grid.RowSpan="2" Width="302" Height="114" Visibility="Collapsed"/>
		<Image x:Name="imgCommentUnbelievable" Margin="0,56,0,0" Source="/Images/unbelievable.png" Stretch="Fill" Grid.RowSpan="2" Width="302" Height="114" Visibility="Collapsed"/>
		<TextBlock TextWrapping="Wrap" Text="{Binding Text, ElementName=txtScore}" FontSize="53.333" TextAlignment="Center" FontFamily="Segoe WP Semibold" Foreground="Black" RenderTransformOrigin="0.5,0.5">
			<TextBlock.RenderTransform>
				<CompositeTransform TranslateX="2" TranslateY="2"/>
			</TextBlock.RenderTransform>
		</TextBlock>
		<TextBlock x:Name="txtScore" TextWrapping="Wrap" Text="+600" VerticalAlignment="Top" FontSize="53.333" TextAlignment="Center" FontFamily="Segoe WP Semibold" Foreground="White"/>
	</Grid>
</UserControl>